<html><head><title>UncompressMemory</title></head>
<body bgcolor="#FFFFDF" link="#009999" vlink="#006666" alink="#006666">
<font face="Arial" size="2"><p align="center"><b><font size="4">UncompressMemory()</font></b></p>
<p><b>Syntax</b></p><blockquote>
Result = <font color="#006666"><b>UncompressMemory</b></font>(*Buffer, Size, *Output, OutputSize [, PluginID])</blockquote>

</blockquote>
<b>Description</b><br><blockquote>

Uncompress the buffer content into the output buffer. The output buffer length needs to be 
at least as long as the buffer to uncompress. 

</blockquote><p><b>Parameters</b></p><blockquote>
<style type="text/css">
table.parameters { border-spacing: 0px; border-style: none; border-collapse: collapse; }
table.parameters td { border-width: 1px; padding: 6px; border-style: solid; border-color: gray; vertical-align: top; font-family:Arial; font-size:10pt; }
</style>
<table width="90%" class="parameters">
<tr><td width="10%"><i>*Buffer</i></td>
<td width="90%"> 
The memory buffer to uncompress. 

</td></tr>
<tr><td><i>Size</i></td>
<td> 
The size of the memory to uncompress. 

</td></tr>
<tr><td><i>*Output</i></td>
<td> 
The memory buffer to store the uncompressed data. 

</td></tr>
<tr><td><i>OutputSize</i></td>
<td> 
The memory buffer size to store the uncompressed data. It must be at least of the size of the 
uncompressed data. 

</td></tr>
<tr><td><i>PluginID (optional)</i></td>
<td> 
The plugin to use, if more than one packer plugin has been registered. It can be one of the following value: 
<pre><font face="Courier New, Courier, mono"size="2">  <font color="#924B72">#PB_PackerPlugin_BriefLZ</font>: use the BriefLZ packer to uncompress the memory. <a href="usebrieflzpacker.html">UseBriefLZPacker()</a> has to be called to have any effect.
  <font color="#924B72">#PB_PackerPlugin_Zip</font>    : use the Zip packer to uncompress the memory. <a href="usezippacker.html">UseZipPacker()</a> has to be called to have any effect.
  <font color="#924B72">#PB_PackerPlugin_LZMA</font>   : use the LZMA packer to uncompress the memory. <a href="uselzmapacker.html">UseLZMAPacker()</a> has to be called to have any effect.
  <font color="#924B72">#PB_PackerPlugin_JCALG1</font> : use the JCALG1 packer to uncompress the memory. <a href="usejcalg1packer.html">UseJCALG1Packer()</a> has to be called to have any effect.
</font></pre>

</td></tr>
</table>
</blockquote><p><b>Return value</b></p><blockquote>

Return the uncompressed size if the buffer has been successfully uncompressed, zero otherwise. 

</blockquote><p><b>See Also</b></p><blockquote>

<a href="compressmemory.html">CompressMemory()</a> 

</Blockquote><p><b>Supported OS </b><Blockquote>All</Blockquote></p><center><- <a href=removepackfile.html>RemovePackFile()</a> - <a href=index.html>Packer Index</a> - <a href=uncompresspackfile.html>UncompressPackFile()</a> ->

</body></html>